
.index {
  display: flex;
  flex-direction: column;
  // padding-bottom: 60px; /* Adjust based on fixed footer height */
  // box-sizing: border-box;
  overflow-y: auto; /* Allow scrolling for content */

  .search-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: #fff;
    z-index: 100;

    input {
      width: 100%;
      height: 36px;
      padding: 0 15px;
      border-radius: 18px;
      background: #f5f5f5;
    }
  }

  .tab-nav {
    left: 0;
    right: 0;
    display: flex;
    padding: 10px;
    background: #fff;
    z-index: 99; /* Lower than search header */
    border-bottom: 1px solid #eee;

    .tab-item {
      flex: 1;
      text-align: center;
      font-size: 14px;
      color: #666;
      padding: 5px 0;

      &.active {
        color: #1890ff;
      }
    }
  }

  .content-area {
    flex: 1;
    margin-top: 1px;
    margin-bottom: 50px;
    
    .recommend-item {
      padding: 15px;
      border-bottom: 1px solid #eee;

      .title {
        font-size: 16px;
        color: #333;
      }
    }
  }

  .tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    height: 50px;
    background: #fff;
    border-top: 1px solid #eee;

    .tab-bar-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      color: #666;

      &.active {
        color: #1890ff;
      }
    }
  }
}